ioemu: improve colordepth negotiation
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 4 Mar 2008 13:30:07 +0000 (13:30 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 4 Mar 2008 13:30:07 +0000 (13:30 +0000)
commit35f1da7fb07ceca4b0470a3c7752ad0388257f67
treef00a80d2d86c0817c29bb409ae1251e24acf0e60
parentb5b593108f9d5a47729a3e5cbabb8ac3ddd5a72d
ioemu: improve colordepth negotiation

By moving the colourdepth callback a bit earlier, we can let the
display decide the actual depth to be used before the draw and whether
sharing is possible or not.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
tools/ioemu/hw/vga.c
tools/ioemu/hw/xenfb.c